<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <!-- Favicon -->
        <link rel="icon" type="image/vnd.microsoft.icon" href="http://magyarhangya.hu/img/favicon/favicon.png"/>
        <link rel="shortcut icon" href="http://magyarhangya.hu/img/favicon/favicon.ico"/>
        <title>Magyarhangya<?php if (isset($title))
    echo " | $title"; ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <!-- Layout CSS Import -->
        <link href="<?php echo base_url(); ?>frontend_style/css/layout.css" rel="stylesheet" type="text/css"/>
        <!-- SCRIPT Loader -->
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery.jtweetsanywhere-1.2.1.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery.ui.totop.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/easing.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jrumble.1.1.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery.masonry.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>frontend_style/script/jquery.animate-colors-min.js" type="text/javascript"></script>
        <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-27974291-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>
        <script src="<?php echo base_url(); ?>frontend_style/script/script.js" type="text/javascript"></script>
    </head>

    <body>
        <!-- ##############  START PAGE ############### --> 

        <!-- SEARCHBAR Start -->
        <?php /* $this->load->view('frontend/search_bar'); */ ?>
        <!-- SEARCHBAR END --> 

        <!--Header Start -->
        <?php
        /*
         * 
         * 
         * 
         */
        // a navigációnak el kell küldeni a random_kiemelt_projekt_data-t
        // újracsomagolva
        if (isset($random_kiemelt_projekt_data)) {
            $data['random_kiemelt_projekt_data'] = $random_kiemelt_projekt_data;
            $this->load->view('frontend/navigacio', $data);
        } else {
            $this->load->view('frontend/navigacio');
        }
        /*
         * 
         * 
         */
        ?>
        <div class="clear">
        </div>
        <hr class="dotted-hr"/>
        <!--Header END -->
        <div id="content">
            <!--SIDEBAR START :: TWITTER :: -->
            <?php $this->load->view('frontend/sidebar_left'); ?>
            <!-- SIDEBAR END :: TWITTER :: --> 
            <!-- MAIN START -->
            <div id="main">

                <?php
// main content beillesztése
                if (isset($main_content))
                    echo $main_content;
                ?>

                <div class="clear"></div>
            </div>
            <!-- MAIN END -->
            <div class="clear"></div>
        </div>

        <!-- Content END--> 
        <!-- FIRST FOOTER START -->
        <?php
        if (isset($footer_kedvencek))
            echo $footer_kedvencek;
        ?>
        <!-- FIRST FOOTER END --> 
        <!-- SECOND FOOTER START -->
        <?php $this->load->view('frontend/footer_kapcsolat'); ?>
        <!-- SECOND FOOTER END --> 
        <!-- ##############  END PAGE ############### --> 
        <!--GRID (.gridIt) DECLARATION -->

        <script type="text/javascript">
	
            var $tumblelog = $('.gridIt');
            $tumblelog.imagesLoaded(function() {
                $tumblelog.masonry({
                    columnWidth : 214,
                    isAnimated : true,
                    gutterWidth : 20
                });
            });
	
        </script>
	
    </body>
</html>